package pta.test04;

import java.util.Scanner;

public class isRun {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        if (run(line)){
            System.out.println("yes");
        }else {
            System.out.println("no");
        }
    }
    public static boolean run(String str){
        StringBuilder reStr = new StringBuilder(str);
        reStr=reStr.reverse();
        return str.equals(reStr.toString());
    }
}
